(pure): Round PURESIZE up.
authorAndreas Schwab <schwab@suse.de>
Sun, 19 Aug 2007 00:15:26 +0000 (00:15 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 19 Aug 2007 00:15:26 +0000 (00:15 +0000)
src/alloc.c

index a69f50457131f81729e51ed81d81cb1b09439b2b..2947e48f815c3dabf75481e0678c5adcbaa3c1c9 100644 (file)
@@ -266,7 +266,7 @@ Lisp_Object Vmemory_full;
    remapping on more recent systems because this is less important
    nowadays than in the days of small memories and timesharing.  */
 
-EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,};
+EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,};
 #define PUREBEG (char *) pure
 
 #else /* HAVE_SHM */